import { Component } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { NzCheckboxModule } from 'ng-zorro-antd/checkbox';

@Component({
  selector: 'app-checkbox-disable',
  standalone: true,
  imports: [NzCheckboxModule, FormsModule],
  template: `<div class="demo">
    <label nz-checkbox [ngModel]="true" [nzDisabled]="true">选我</label>
    <label nz-checkbox [ngModel]="false" [nzDisabled]="true">选她</label>
  </div> `,
  styles: ``,
})
export class CheckboxDisableComponent {
  value = false;
}
